package metier;

import java.sql.Date;
import java.util.HashMap;

public class Match
{

	private int numeroM;
	private	Date dateM;
	private String lieuM;
	private String equipeAffronteeM;
	private String scoreM;
	private HashMap<Joueur,Poste> lesJoueurs = new HashMap<Joueur , Poste>();
	
	
	/**
	 * @param numeroM
	 * @param dateM
	 * @param lieuM
	 * @param equipeAffronteeM
	 * @param scoreM
	 */
	
	public Match(int numeroM, Date dateM, String lieuM, String equipeAffronteeM, String scoreM)
	{
		super();
		this.numeroM = numeroM;
		this.dateM = dateM;
		this.lieuM = lieuM;
		this.equipeAffronteeM = equipeAffronteeM;
		this.scoreM = scoreM;
	}

	/**
	 * @return the numeroM
	 */
	public int getNumeroM()
	{
		return numeroM;
	}

	/**
	 * @param numeroM the numeroM to set
	 */
	public void setNumeroM(int numeroM)
	{
		this.numeroM = numeroM;
	}

	/**
	 * @return the dateM
	 */
	public Date getDateM()
	{
		return dateM;
	}

	/**
	 * @param dateM the dateM to set
	 */
	public void setDateM(Date dateM)
	{
		this.dateM = dateM;
	}

	/**
	 * @return the lieuM
	 */
	public String getLieuM()
	{
		return lieuM;
	}

	/**
	 * @param lieuM the lieuM to set
	 */
	public void setLieuM(String lieuM)
	{
		this.lieuM = lieuM;
	}

	/**
	 * @return the equipeAffronteeM
	 */
	public String getEquipeAffronteeM()
	{
		return equipeAffronteeM;
	}

	/**
	 * @param equipeAffronteeM the equipeAffronteeM to set
	 */
	public void setEquipeAffronteeM(String equipeAffronteeM)
	{
		this.equipeAffronteeM = equipeAffronteeM;
	}

	/**
	 * @return the scoreM
	 */
	public String getScoreM()
	{
		return scoreM;
	}

	/**
	 * @param scoreM the scoreM to set
	 */
	public void setScoreM(String scoreM)
	{
		this.scoreM = scoreM;
	}
	
	
	
}
